package com.atguigu.common.constant;

public class ProductConstant {

    //属性相关的枚举
    public enum AttrEnum{
        ATTR_TYPE_BASE(1,"基本属性"),ATTR_TYPE_SALE(0,"销售属性");

        private int typeCode;
        private String typeMsg;

        AttrEnum(int typeCode, String typeMsg) {
            this.typeCode = typeCode;
            this.typeMsg = typeMsg;
        }

        public int getTypeCode() {
            return typeCode;
        }

        public String getTypeMsg() {
            return typeMsg;
        }
    }
}
